﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Threading.Tasks;

namespace WebApi.Models
{
    /// <summary>
    /// 每日天气记录 TbDailyWeather
    /// </summary>
    [SugarTable("TbDailyWeather")]
    public class DailyWeatherModel
    {
        /// <summary>
        /// Code 主键
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnName = "pkId", IsPrimaryKey = true)]
        public string Code { get; set; }



        /// <summary>
        /// 星期
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "sWeekDay")]
        public string SWeekDay { get; set; }



        /// <summary>
        /// 星期
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "sTextDay")]
        public string STextDay { get; set; }



        /// <summary>
        /// 白天天气图标
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "sIconDay")]
        public string SIconDay { get; set; }


        /// <summary>
        /// 最高温度
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "sTempMax")]
        public string STempMax { get; set; }



        /// <summary>
        /// 最低温度
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "sTempMin")]
        public string STempMin { get; set; }

        /// <summary>
        /// 夜晚天气
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "sTextNight")]
        public string STextNight { get; set; }

        /// <summary>
        /// 夜晚天气图标
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "sIconNight")]
        public string SIconNight { get; set; }


        /// <summary>
        /// 日期
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "sDate")]
        public string SDate { get; set; }



        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(IsNullable = true, ColumnName = "tCreate")]
        public DateTime TCreate { get; set; }

    }
}
